package com.zzs.team.Entity;

import java.util.Date;

/**
 * 用来处理封装显示的队伍信息
 */
public class TeamShow extends Team{

    //封装这条队伍信息发布者的用户信息
    private User user;
    //1表示信息被当前用户收藏 0表示未收藏
    private boolean like;
    //1表示信息被当前用户预约 0表示未预约
    private boolean reserve;

    public boolean isReserve() {
        return reserve;
    }

    public void setReserve(boolean reserve) {
        this.reserve = reserve;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public boolean isLike() {
        return like;
    }

    public void setLike(boolean like) {
        this.like = like;
    }

    @Override
    public String toString() {
        return "TeamShow{" +
                "user=" + user +
                ", like=" + like +
                ", reserve=" + reserve +
                '}';
    }
}
